package zero.tech.games.common;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
public abstract class ThreadRunner implements ApplicationRunner{

	@Override
	public void run(ApplicationArguments args) throws Exception {
		new Thread(new Runnable() {
			
			@Override
			public void run() {
				process();
			}
		}).start();
	}

	public abstract void process();
}
